package com.jwthhealth_pub.old.common.download;

import android.content.Context;
import android.os.Environment;

/**
 * Created by liuzhen000 on 2017/1/3.
 */

public class DownloadManager {

    public static String basePath = Environment.getExternalStorageDirectory().getAbsolutePath() + "/jwth/";

    private Context context;

    public DownloadManager(Context context) {
        this.context = context;

    }

    public void downloadFile(String url, String path, String fileName){

        DownLoadTask downLoadTask = new DownLoadTask(url, path, fileName);
        downLoadTask.start();
    }
}
